import random
import help

allName=['邹志华','李斌','胡友秋','程璧','刘贤文','韦莘','熊文',
         '倪骏','高伟','黄开德','杨永信','郭奇志','宋平波','梅燕',
         '贺传健','李东','李显晟','张杨','张毅','代雷','刘刚',
         '石晓非']
other1='程发来、陈酉、周明凯、王金兴、王皓深、黎新、高举彪、张莹、李燕红、许茂、邵毅祥、刘淦生、刘斌、杨飞鸿、钱华勇'
other2='陈照、葛方伟、殷耀、殷向前、徐银华、高俊、张浩、李泂泉、李沂姗、许渭川、沈越伟、符光明、代雷、刘增华、刘贤文、刘琪、钟适之、杨庆福、赵瑾、唐开涛、罗峰、朱萍萍、冉南、夏慈民、吴寿松、马思铭'
other3='黄有奎、孙斌、李炳华、胡世平、任明、周捷、蒋乾集、虞文显、贾善水、梁贲思、刘维澄、袁桦、杨钧超、杨永信、韩海良、魏中杰、魏春光、郑霞'

randTop=['讲师','副教授']
allTop=[]
for i in range(len(allName)):
    if i>=6 and i<=18:
        allTop.append(help.randInList(randTop))
    else:
        allTop.append('')

def appendName(other,top):
    list=other.split('、')
    for i in list:
        if not i in allName:
            allName.append(i)
            allTop.append(top)
appendName(other1,'教授')
appendName(other2,'副教授')
appendName(other3,'讲师')

l=len(allName)
allNum=[]
for _ in range(l):
    num=random.randint(100000,199999)
    num='1000'+str(num)[1:]
    allNum.append(num)

phoneHead=['1566597','1534597','1317838','1385907','1598579','1588009','1379938','1505949']
allPhone=[]
for _ in range(l):
    num = random.randint(10000, 19999)
    num= help.randInList(phoneHead) + str(num)[1:]
    allPhone.append(num)

for i in range(l):
    print(allNum[i]+','+allName[i]+','+allTop[i]+','+allPhone[i])